<?php

namespace backend\modules\AuditFlow;

/**
 * audit-flow module definition class
 */
class Module extends \yii\base\Module
{
    /**
     * {@inheritdoc}
     */
    public $controllerNamespace = 'backend\modules\AuditFlow\controllers';

    /**
     * {@inheritdoc}
     */
    public function init()
    {
        parent::init();
        $this->modules = [
            'audit' => [
                'class' => 'backend\modules\AuditFlow\modules\Audit\Module',
            ],
            'audit-node' => [
                'class' => 'backend\modules\AuditFlow\modules\AuditNode\Module',
            ],
            'audit-rule' => [
                'class' => 'backend\modules\AuditFlow\modules\AuditRule\Module',
            ],

        ];
        // custom initialization code goes here
    }
}
